package com.njsf.pojo;

import java.util.Date;

public class Book {
    private Long id;
    private String bookName;
    private String author;
    private String publisher;
    private Date publishTime;
    private Float price;
    private String img;
    private BookCategory bookCategory;
<<<<<<< HEAD
    private Integer checked;
=======
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public BookCategory getBookCategory() {
        return bookCategory;
    }

    public void setBookCategory(BookCategory bookCategory) {
        this.bookCategory = bookCategory;
    }

<<<<<<< HEAD
    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

=======
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8
    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", publisher='" + publisher + '\'' +
                ", publishTime=" + publishTime +
                ", price=" + price +
                ", img='" + img + '\'' +
                ", bookCategory=" + bookCategory +
<<<<<<< HEAD
                ", checked=" + checked +
=======
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8
                '}';
    }
}
